<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">>
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h3>首页</h3>
<a th:href="@{/create}">创建</a>|
<a th:href="@{/update}">修改</a>\
<a th:href="@{/del}">删除</a>\
<a th:href="@{/query}">查询</a>\
<a th:href="@{/toLogin}">登录</a>\
<a th:href="@{/logout}">注销</a>\

<div shiro:hasPermission="query">

</div>
</body>
</html>